package com.example.tse.rbhttpservice.service.shopping.model;

/**
* 添加购物车
* @author wliu
*  edit   tse
*/
public abstract class ShoppingAddRequest {


public  ShoppingAddRequest() {
productId=giveProductId();
isFastBuy=giveIsFastBuy();
quantity=giveQuantity();
targetId=giveTargetId();
rudderRoute=giveRudderRoute();
}


//货品ID
private String productId = "";

//是否快速购买，0否、1是，默认0
private String isFastBuy = "";

//购买数量，默认1
private String quantity = "";

//目标ID，秒杀商品填secondId 专享填exclusiveId
private String targetId = "";

//跟踪商品购买路径
private String rudderRoute = "";

/**
* 货品ID
* @return productId
*/
public String getProductId() {
return this.productId;
}

/**
* 货品ID
* @return productId
*/
public void setProductId(String productId) {
this.productId = productId;
}


public abstract String giveProductId();

/**
* 是否快速购买，0否、1是，默认0
* @return isFastBuy
*/
public String getIsFastBuy() {
return this.isFastBuy;
}

/**
* 是否快速购买，0否、1是，默认0
* @return isFastBuy
*/
public void setIsFastBuy(String isFastBuy) {
this.isFastBuy = isFastBuy;
}


public abstract String giveIsFastBuy();

/**
* 购买数量，默认1
* @return quantity
*/
public String getQuantity() {
return this.quantity;
}

/**
* 购买数量，默认1
* @return quantity
*/
public void setQuantity(String quantity) {
this.quantity = quantity;
}


public abstract String giveQuantity();

/**
* 目标ID，秒杀商品填secondId 专享填exclusiveId
* @return targetId
*/
public String getTargetId() {
return this.targetId;
}

/**
* 目标ID，秒杀商品填secondId 专享填exclusiveId
* @return targetId
*/
public void setTargetId(String targetId) {
this.targetId = targetId;
}


public abstract String giveTargetId();

/**
* 跟踪商品购买路径
* @return rudderRoute
*/
public String getRudderRoute() {
return this.rudderRoute;
}

/**
* 跟踪商品购买路径
* @return rudderRoute
*/
public void setRudderRoute(String rudderRoute) {
this.rudderRoute = rudderRoute;
}


public abstract String giveRudderRoute();

}
